package com.sparrow.example_message.backpack.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.example_message.backpack.vo.ItemVo;
import com.sparrow.socket.anno.Packet;

import java.util.List;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "RESP_BACKPACK_ADD_ITEM")
@Packet(msgId = PacketId.BackPack.RESP_BACKPACK_USE_GOODS)
public class RespBackPackUseGoods {
    @Protobuf(description = "物品唯一id")
    private long goodsId;
    @Protobuf(description = "数量")
    private int num;

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
